home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gui / gengui2.lha / GenGui2 / Examples / smakefile < prev    next >
Makefile  |  1995-03-15  |  2KB  |  109 lines

  1.  
  2. GLIB=/Lib/gengui_lnk.o
  3. GenGui=/Bin/gengui
  4. CFLAGS=IDIR /lib
  5.  
  6. all: glib mux border palette xarc plot subgui jumpwin frame
  7.  
  8. glib:
  9.    execute <<
  10. cd /Lib
  11. smake
  12. <
  13.  
  14. mux: mux.o $(GLIB)
  15.    sc mux.o $(GLIB) link to mux
  16.  
  17. mux.o: test.c mux.h
  18.    sc $(CFLAGS) objname mux.o test.c def TITLE="Multiplexdemo" def GUINAME="mux.h"
  19.  
  20. mux.h: mux.gui
  21.    $(GenGui) mux.gui
  22.  
  23. subgui: subgui.o $(GLIB)
  24.    sc subgui.o $(GLIB) link to subgui
  25.  
  26. subgui.o: test.c subgui.h
  27.    sc $(CFLAGS) objname subgui.o test.c def TITLE="Multiplexdemo" def GUINAME="subgui.h"
  28.  
  29. subgui.h: subgui.gui
  30.    $(GenGui) subgui.gui
  31.  
  32.  
  33. frame: frame.o $(GLIB)
  34.    sc frame.o $(GLIB) link to frame
  35.  
  36. frame.o: test.c frame.h
  37.    sc $(CFLAGS) objname frame.o test.c def TITLE="Framedemo" def GUINAME="frame.h"
  38.  
  39. frame.h: frame.gui
  40.    $(GenGui) frame.gui
  41.  
  42.  
  43. plot: plot.o $(GLIB)
  44.    sc plot.o $(GLIB) link to plot
  45.  
  46. plot.o: test.c plot.h
  47.    sc $(CFLAGS) objname plot.o test.c def TITLE="Plotdemo" def GUINAME="plot.h" def TestPro=Plot
  48.  
  49. plot.h: plot.gui
  50.    $(GenGui) plot.gui
  51.  
  52.  
  53. border: border.o $(GLIB)
  54.    sc border.o $(GLIB) link to border
  55.  
  56. border.o: test.c border.h
  57.    sc $(CFLAGS) objname border.o test.c def TITLE="Customdemo" def GUINAME="border.h"
  58.  
  59. border.h: border.gui
  60.    $(GenGui) border.gui
  61.  
  62.  
  63. palette: palette.o $(GLIB)
  64.    sc palette.o $(GLIB) link to palette
  65.  
  66. palette.o: palette.c palette.h
  67.    sc $(CFLAGS) objname palette.o palette.c
  68.  
  69. palette.h: palette.gui
  70.    $(GenGui) palette.gui
  71.  
  72.  
  73. xarc: xarc.o $(GLIB)
  74.    sc xarc.o $(GLIB) link to xarc
  75.  
  76. xarc.o: test.c xarc.h
  77.    sc $(CFLAGS) objname xarc.o test.c def TITLE="XArcToolGUI" def GUINAME="xarc.h"
  78.  
  79. xarc.h: xarc.gui
  80.    $(GenGui) xarc.gui
  81.  
  82.  
  83. steuer: steuer.o $(GLIB)
  84.    sc steuer.o $(GLIB) link to steuer
  85.  
  86. steuer.o: test.c steuer.h
  87.    sc $(CFLAGS) objname steuer.o test.c def TITLE="Steuer" def GUINAME="steuer.h"
  88.  
  89. steuer.h: steuer.gui
  90.    $(GenGui) steuer.gui
  91.  
  92.  
  93. jumpwin: jumpwin.o $(GLIB)
  94.    sc jumpwin.o $(GLIB) link to jumpwin
  95.  
  96. jumpwin.o: jumpwin.c jumpwin.h
  97.    sc $(CFLAGS) objname jumpwin.o jumpwin.c
  98.  
  99. jumpwin.h: jumpwin.gui
  100.    $(GenGui) jumpwin.gui
  101.  
  102.  
  103. clean:
  104.    execute <<
  105.    delete \#?.o
  106.    delete `list \#?.gui lformat "(%m.h)"`
  107.    set RC 0
  108. <
  109.